<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            background-color: #ccc;
        }
        .box{
            width: 300px;
            height: 200px;
            background-color: #fff;
        }
        .span1{
            display: inline-block;
            width: 120px;
            height: 120px;
            text-align: center;
        }
        span>img{
            width: 80px;
        }
        .span2{
            display: inline-block;
        }
        .span3{
            display: inline-block;
            width: 100px;
            height: 40px;
            text-align: center;
            line-height: 40px;
        }

    </style>
</head>
<body>
<div class="box">
    <span class="span1"><img src="./img/niu.png" alt=""></span>
    <span class="span2"><b>张三</b><br><br> <label style="color: grey">前端工程师</label></span>

    <span class="span3" style="color: white;background-color:dodgerblue;">+关注</span>
</div>
</body>
</html>